package com.loyin.model;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;

/**
 * 用户信息
 * 
 * @author loyin 2011-10-30 12:33:36
 */
@Table(name = "igs_userInfo")
public class UserInfo extends ActiveRecordBase
{
	@Id
	public Long id;
	/** 会员号 */
	@Column
	public String usercode;
	/** 密码 */
	@Column
	public String pwd;
	/** 姓氏 */
	@Column
	public String firstname;
	/** 名字 */
	@Column
	public String lastname;
	/** 性别 */
	@Column
	public Integer sex;
	/** 手机 */
	@Column
	public String phone;
	@Column
	public String email;
	/** 注册时间 */
	@Column
	public String regtime;
	/** 是否收费会员 */
	@Column
	public Integer rechargeable=0;
	/** 空间大小 */
	@Column
	public Integer spacesize=0;
	/** 密码保护问题 */
	@Column
	public Integer protectQestion=0;
	/** 问题答案 */
	@Column
	public String protectAnswer;
	/** 有效时间 */
	@Column
	public String effecttime;
	/** 是否长期有效 */
	@Column
	public Integer longtimeeffect=1;
	/** 角色级别，默认是1，0是管理员 */
	@Column
	public Integer roleclass=1;
	/** 全名 */
	@Column
	public String fullname;
	
	public String getUsercode()
	{
		return usercode;
	}

	public void setUsercode(String usercode)
	{
		this.usercode = usercode;
	}

	public String getPwd()
	{
		return pwd;
	}

	public void setPwd(String pwd)
	{
		this.pwd = pwd;
	}

	public String getFirstname()
	{
		return firstname;
	}

	public void setFirstname(String firstname)
	{
		this.firstname = firstname;
	}

	public String getLastname()
	{
		return lastname;
	}

	public void setLastname(String lastname)
	{
		this.lastname = lastname;
	}

	public Integer getSex()
	{
		return sex;
	}

	public void setSex(Integer sex)
	{
		this.sex = sex;
	}

	public String getPhone()
	{
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getRegtime()
	{
		return regtime;
	}

	public void setRegtime(String regtime)
	{
		this.regtime = regtime;
	}

	public Integer getRechargeable()
	{
		return rechargeable;
	}

	public void setRechargeable(Integer rechargeable)
	{
		this.rechargeable = rechargeable;
	}

	public Integer getSpacesize()
	{
		return spacesize;
	}

	public void setSpacesize(Integer spacesize)
	{
		this.spacesize = spacesize;
	}

	public Integer getProtectQestion()
	{
		return protectQestion;
	}

	public void setProtectQestion(Integer protectQestion)
	{
		this.protectQestion = protectQestion;
	}

	public String getProtectAnswer()
	{
		return protectAnswer;
	}

	public void setProtectAnswer(String protectAnswer)
	{
		this.protectAnswer = protectAnswer;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getEffecttime()
	{
		return effecttime;
	}

	public void setEffecttime(String effecttime)
	{
		this.effecttime = effecttime;
	}

	public Integer getLongtimeeffect()
	{
		return longtimeeffect;
	}

	public void setLongtimeeffect(Integer longtimeeffect)
	{
		this.longtimeeffect = longtimeeffect;
	}

	public Integer getRoleclass()
	{
		return roleclass;
	}

	public void setRoleclass(Integer roleclass)
	{
		this.roleclass = roleclass;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

}